package com.roundarchisobar.njariwala.netflix.request;

import org.hibernate.validator.constraints.NotEmpty;

public class SearchRequest {
	
	@NotEmpty(message = "Term Cannot be Empty")
	private String term;
	
	private long pageNum;
	private long maxResult=10;
	
	@NotEmpty
	private String type;
	
	public String getTerm() {
		return term;
	}
	public void setTerm(String term) {
		this.term = term;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public long getMaxResult() {
		return maxResult;
	}
	public void setMaxResult(long maxResult) {
		this.maxResult = maxResult;
	}
	public long getPageNum() {
		return pageNum;
	}
	public void setPageNum(long pageNum) {
		this.pageNum = pageNum;
	}
	
	
	

}
